import { Route, Switch, Redirect, HashRouter as Router } from 'react-router-dom';
import { asyncComp } from 'Componets/asyncComponent';

const Home = asyncComp(() => import('./routes/Home/index.js'));


class Index extends React.Component {

    render() {
        return (
            <Switch>
                <Route path="/Login" exact component={Home} />
                <Redirect to="/Login" />
            </Switch>
        )
    }
}

export default () => <Router><Index /></Router>;